Skip to content

[Port to dtq-dev] Refactor license contract page and improve collection display#1260

Open
kosarko wants to merge 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-114-to-dtq-dev
Open

[Port to dtq-dev] Refactor license contract page and improve collection display#1260
kosarko wants to merge 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-114-to-dtq-dev

Conversation

@kosarko
Copy link

@kosarko kosarko commented Mar 20, 2026

Port of ufal/clarin-dspace#114 by @kosarko to dtq-dev.

…larin-dspace#114)

* Display contract even if no collectionId given

lists all authorized collections and their licenses

* Proper cleanup

replaced the nested manual subscriptions in
license-contract-page.component.ts with a single RxJS pipeline using
tap(...), switchMap(...), and takeUntil(this.destroy$), then completed
cleanup in ngOnDestroy().

* fix non unique ids

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard license stream with EMPTY and stricter check

Guard license stream with EMPTY and stricter check

* Refactor license contract page and improve collection display (#115)

* Initial plan

* Add error/loading handling for bogus collectionId in single-collection mode

Co-authored-by: kosarko <1842385+kosarko@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kosarko <1842385+kosarko@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: amadulhaxxani <hassan@ufal.mff.cuni.cz>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kosarko <1842385+kosarko@users.noreply.github.com>
(cherry picked from commit 0ca1429)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant